You are here: Statements and Functions > Trunc()
Syntax samples
TRUNC(<expression>)
Integer1=TRUNC(3.9)
Returns a real expression truncated to an integer. Any digits to the right of the decimal place will be removed. When necessary, ProModel automatically converts real values to integers by truncating them. For more information about ProModel automatically converting between reals and integers, see Converting Between Numeric Types.
Any expression. This function returns an integer.
Components
<expression>
The expression to be truncated.
ROUND().